package com.fddh.springboot.service;

import com.fddh.springboot.dto.NewUserDto;
import com.fddh.springboot.dto.UserDto;
import com.fddh.springboot.entity.User;

import java.util.List;

public interface UserService {

     //get all user list
     List<User> getUserList();

     //add 用户
     int addUser(NewUserDto newuserDto);

     //删除用户
     int deleteUser(UserDto userDto);

     //修改用户信息
     void updateUser(NewUserDto newUserDto);

}
